package cn.crm.Service;

import cn.crm.common.ServerResponse;
import cn.crm.entity.Role;

public interface IRoleService {

	ServerResponse pageList(Integer page, Integer limit, Role role);

	ServerResponse selectAllRoles();

	ServerResponse insert(Role role, String permissions);

	ServerResponse selectRoleandPermissions(Integer roleId);

	ServerResponse update(Role role, String permissions);

}
